import 'package:flutter/material.dart';

class NavigationIconView {
  // item
  final BottomNavigationBarItem item;

  // title
  final String title;

  // icon path
  final String iconPath;

  // active icon path
  final String activeIconPath;

  NavigationIconView(this.title, this.iconPath, this.activeIconPath)
      : item = BottomNavigationBarItem(
            icon: Image.asset(
              iconPath,
              width: 20,
              height: 20,
            ),
            activeIcon: Image.asset(
              activeIconPath,
              height: 20,
              width: 20,
            ),
            title: Text(title));
}
